package com.hh.commen.mapper;/*
 * @Description:TODO 描述
 * @Author: tongZhao
 * @date: 2023/8/17
 */

import com.hh.commen.bean.AttributeVo;
import com.hh.commen.bean.Common;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CommonMapper {

    List<Common> region();

    List<Common> country(String regionCode);

    List<Common> province(String countryCode);

    List<Common> city(String provinceCode);

    List<Common> county(String cityCode);

    List<AttributeVo> getAllAttribute();

    Integer checkRegion(String regionName);

    Integer checkCountry(String countryName);

    Integer checkCounty(String countryName);

    Integer checkProvince(String provinceName);

    Integer checkCity(String cityName);
}
